
<script>
function OnSubmitForm4(){
	if(document.pressed == "Save Changes"){
		document.detailsform2.action ="<?php echo base_url();?>index.php/adminPageController/editDetails/";
		return true;
	}else if(document.pressed == "Back to Main"){
		document.detailsform2.action ="<?php echo base_url();?>index.php/adminPageController";
		return true;
	}
}
</script>
